package ysu.sxm.ptjc.Domin;

public class DefectStatistics {
    String defect_type;
    String defect_discrabe;
    int return_num;
    int scrap_num;
    int total;
    String absolute;
    String relative;

    public String getDefect_type() {
        return defect_type;
    }

    public DefectStatistics setDefect_type(String defect_type) {
        this.defect_type = defect_type;
        return this;
    }

    public String getDefect_discrabe() {
        return defect_discrabe;
    }

    public DefectStatistics setDefect_discrabe(String defect_discrabe) {
        this.defect_discrabe = defect_discrabe;
        return this;
    }

    public int getReturn_num() {
        return return_num;
    }

    public DefectStatistics setReturn_num(int return_num) {
        this.return_num = return_num;
        return this;
    }

    public int getScrap_num() {
        return scrap_num;
    }

    public DefectStatistics setScrap_num(int scrap_num) {
        this.scrap_num = scrap_num;
        return this;
    }

    public int getTotal() {
        return total;
    }

    public DefectStatistics setTotal(int total) {
        this.total = total;
        return this;
    }

    public String getAbsolute() {
        return absolute;
    }

    public DefectStatistics setAbsolute(String absolute) {
        this.absolute = absolute;
        return this;
    }

    public String getRelative() {
        return relative;
    }

    public DefectStatistics setRelative(String relative) {
        this.relative = relative;
        return this;
    }

    @Override
    public String toString() {
        return "DefectStatistics{" +
                "defect_type='" + defect_type + '\'' +
                ", defect_discrabe='" + defect_discrabe + '\'' +
                ", return_num=" + return_num +
                ", scrap_num=" + scrap_num +
                ", total=" + total +
                ", absolute='" + absolute + '\'' +
                ", relative='" + relative + '\'' +
                '}';
    }
}
